package com.ruoyi.system.domain.construction;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

public class Account extends BaseEntity {


  private static final long serialVersionUID = 1L;

  /** 保证金ID */
  private Integer accountId;

  /** 供应商编号 */
  @Excel(name = "供应商编号")
  private String supplierCode;
  private Integer supplierIdNum;

  /** 保证金余额 */
  @Excel(name = "保证金余额")
  private BigDecimal balanceMoney;

  /** 最后修改时间 */
  @JsonFormat(pattern = "yyyy-MM-dd")
  @Excel(name = "最后修改时间", width = 30, dateFormat = "yyyy-MM-dd")
  private Date modifiedTime;

  /** 0未审核 1已审核 */
  @Excel(name = "0未审核 1已审核")
  private String type;

  public Integer getSupplierIdNum() {
    return supplierIdNum;
  }

  public void setSupplierIdNum(Integer supplierIdNum) {
    this.supplierIdNum = supplierIdNum;
  }

  public void setAccountId(Integer accountId)
  {
    this.accountId = accountId;
  }

  public Integer getAccountId()
  {
    return accountId;
  }
  public void setSupplierCode(String supplierCode)
  {
    this.supplierCode = supplierCode;
  }

  public String getSupplierCode()
  {
    return supplierCode;
  }
  public void setBalanceMoney(BigDecimal balanceMoney)
  {
    this.balanceMoney = balanceMoney;
  }

  public BigDecimal getBalanceMoney()
  {
    return balanceMoney;
  }
  public void setModifiedTime(Date modifiedTime)
  {
    this.modifiedTime = modifiedTime;
  }

  public Date getModifiedTime()
  {
    return modifiedTime;
  }
  public void setType(String type)
  {
    this.type = type;
  }

  public String getType()
  {
    return type;
  }

  @Override
  public String toString() {
    return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("accountId", getAccountId())
            .append("supplierCode", getSupplierCode())
            .append("balanceMoney", getBalanceMoney())
            .append("modifiedTime", getModifiedTime())
            .append("type", getType())
            .toString();
  }
}
